using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Media;

namespace GameVuTru.ResourceManager
{
    class ReSouce
    {
        //menu va hinh cac man hinh phu
        public static Texture2D AboutButton;
        public static Texture2D OptionButton;
        public static Texture2D PlayButton;
        public static Texture2D ResumeButton;
        public static Texture2D aboutScreen;
        public static Texture2D exitButton;
        public static Texture2D backButton;
        public static Texture2D OptionScreen;
        public static Texture2D Checkbutton;
        public static Texture2D Squarebutton;
        public static Texture2D MenuBackGround;
        public static Texture2D GameOverScreen;

        //object
        public static Texture2D phithuyen;
        public static Texture2D background;
        public static Texture2D circleProtect;
        //dich
        //public static Texture2D DANDICH;
        public static Texture2D SliverEnemy;
        public static Texture2D yellowEnemy;
        public static Texture2D redEnemy;
        public static Texture2D BulletEnemy;
        public static Texture2D VitVang;
        public static Texture2D VitDo;
        public static Texture2D VitXanh;
        public static Texture2D VitXanhTroi;
        public static Texture2D VitHong;
        public static Texture2D Stone;
        public static Texture2D redBoss;
        public static Texture2D heathBoss;

        //dan cac loai
        public static Texture2D bulletBlue;
        public static Texture2D bulletRedsmall;
        public static Texture2D bulletRedmedium;
        public static Texture2D bulletRedbig;
        //explosion
        public static Texture2D playerexplosion;
        public static Texture2D redexplosion;
        public static Texture2D yellowexplosion;
        public static Texture2D sliverexplosion;
        public static Texture2D duckexplosion;
        public static Texture2D boom;
        public static Texture2D boomexplosion;
        //bonus
        public static Texture2D bulletItem;
        public static Texture2D coinItem;

        //hinh anh can thiet trong gameplaying
        public static Texture2D NenScore;
        public static Texture2D NenScore2;
        public static Texture2D btnBoom;
        public static Texture2D btnPause;


        /********************************************SOUND****************************************/
        public static SoundEffect soundplayshoot;
        public static SoundEffect soundUfoshoot;
        public static SoundEffect soundExplosion;
        public static SoundEffect soundEatBullet;
        public static SoundEffect soundEatCoin;
        public static SoundEffect soundTap;//khi nhan cac btn
        public static SoundEffect soundboomExplosion;
        public static SoundEffect soundPlayerExplosion;
        public static SoundEffect soundlifeUp;
        //sound cac screen
        public static Song soundMenu;

        public static void LoadContent(ContentManager content)
        {
            //player
            background = content.Load<Texture2D>("Nguon/HinhNen");
            phithuyen = content.Load<Texture2D>("Nguon/player");
            bulletBlue = content.Load<Texture2D>("Nguon/bulletred");
            bulletRedsmall = content.Load<Texture2D>("Nguon/RedBullet");
            bulletRedmedium = content.Load<Texture2D>("Nguon/RedBulletmedium");
            bulletRedbig = content.Load<Texture2D>("Nguon/RedBulletBig");
            circleProtect = content.Load<Texture2D>("Nguon/circleProtected");
            //menu
            AboutButton = content.Load<Texture2D>("Nguon/AboutButton");
            OptionButton = content.Load<Texture2D>("Nguon/OptionButton");
            PlayButton = content.Load<Texture2D>("Nguon/PlayButton");
            ResumeButton = content.Load<Texture2D>("Nguon/ResumeButton");
            aboutScreen = content.Load<Texture2D>("Nguon/AboutScreen");
            backButton = content.Load<Texture2D>("Nguon/btnBack");
            OptionScreen = content.Load<Texture2D>("Nguon/optionScreen");
            Checkbutton = content.Load<Texture2D>("Nguon/check");
            Squarebutton = content.Load<Texture2D>("Nguon/ovuong");
            MenuBackGround = content.Load<Texture2D>("Nguon/menu");
            GameOverScreen = content.Load<Texture2D>("Nguon/GameOver");
            exitButton = content.Load<Texture2D>("Nguon/btnExit");
            //enemy
            //DANDICH = content.Load<Texture2D>("Nguon/dandich");
            VitDo = content.Load<Texture2D>("Nguon/duckRed");
            VitHong = content.Load<Texture2D>("Nguon/duckhong");
            VitXanh = content.Load<Texture2D>("Nguon/duckXanhCay");
            VitXanhTroi = content.Load<Texture2D>("Nguon/duckxanh");
            VitVang = content.Load<Texture2D>("Nguon/duckvang");
            BulletEnemy = content.Load<Texture2D>("Nguon/bulletEnemy");
            SliverEnemy = content.Load<Texture2D>("Nguon/SilverUFO");
            yellowEnemy = content.Load<Texture2D>("Nguon/OrganeUFO");
            redEnemy = content.Load<Texture2D>("Nguon/RedUFO");
            Stone = content.Load<Texture2D>("Nguon/stone");
            heathBoss = content.Load<Texture2D>("Nguon/heathBoss");
            redBoss = content.Load<Texture2D>("Nguon/BossRed");

            //vu no
            playerexplosion = content.Load<Texture2D>("Nguon/playExplosion");
            redexplosion = content.Load<Texture2D>("Nguon/redexplosion");
            sliverexplosion = content.Load<Texture2D>("Nguon/sliverexplosion");
            yellowexplosion = content.Load<Texture2D>("Nguon/yellowexplosion");
            duckexplosion = content.Load<Texture2D>("Nguon/explosionDuck");
            boom = content.Load<Texture2D>("Nguon/boom");
            boomexplosion = content.Load<Texture2D>("Nguon/boomexplosion");

            //bonus
            bulletItem = content.Load<Texture2D>("Nguon/bulletItem");
            coinItem = content.Load<Texture2D>("Nguon/Coin");
            //
            NenScore = content.Load<Texture2D>("Nguon/nenScore");
            NenScore2 = content.Load<Texture2D>("Nguon/nenscore2");
            btnBoom = content.Load<Texture2D>("Nguon/btnBoom");
            btnPause = content.Load<Texture2D>("Nguon/btnpause");

            /**********************************************SOUND***********************************************************/
            soundplayshoot = content.Load<SoundEffect>("Sounds/blaster");
            soundUfoshoot = content.Load<SoundEffect>("Sounds/ufoshoot");
            soundExplosion = content.Load<SoundEffect>("Sounds/explosion");
            soundEatBullet = content.Load<SoundEffect>("Sounds/getextra");
            soundEatCoin = content.Load<SoundEffect>("Sounds/Coin");
            soundTap = content.Load<SoundEffect>("Sounds/tap");
            soundMenu = content.Load<Song>("Sounds/Music");
            soundboomExplosion = content.Load<SoundEffect>("Sounds/boomno");
            soundPlayerExplosion = content.Load<SoundEffect>("Sounds/playerno");
            soundlifeUp = content.Load<SoundEffect>("Sounds/LifeUp");

        }
    }
}
